﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 金蝶星瀚系统.KingDeeResponse;

namespace 星瀚系统接口测试.金蝶星瀚系统.ImportCartonInfoResponse
{
    public class ImportCartonInfoResponseRoot
    {
        public Response Response { get; set; }
    }

    public class Response
    {
        /// <summary>
        /// 
        /// </summary>
        public Data Data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Head Head { get; set; }
    }

    public class Head
    {
        /// <summary>
        /// 
        /// </summary>
        public string BIZTRANSACTIONID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string COMMENTS { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ERRORCODE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ERRORINFO { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RESULT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SUCCESSCOUNT { get; set; }
    }

    public class Data
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 生产批号信息查询成功
        /// </summary>
        //public ErrorMessage errorMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ImportResult data { get; set; }
    }

    public class ErrorMessage
    {
        /// <summary>
        /// 
        /// </summary>
        public string errorMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<List<string>> errorPath { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string primaryKey { get; set; }
    }

    public class ImportResult
    {
        public string billNo { get; set; }

        public string info { get; set; }
    }
}
